﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Interfaces
{
    public partial class About : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (User.Identity.IsAuthenticated)
                Response.Redirect("~/Orden/Inicio.aspx");
        }
        protected void Page_PreInit(object sender, EventArgs e)
        {
            if (Session["BuscarMaster"] != null)
            {

                this.MasterPageFile = (string)Session["BuscarMaster"];
            }
            else
            {
                this.MasterPageFile = "~/MasterPages/Default.Master";  
            }
        }
    }
}